﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="systemlist.aspx.cs" Inherits="Ecreate.Web.systemanage.system.systemlist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
   
        <link rel="stylesheet" type="text/css" href="/content/css/crud/stylecrud.css"/>  
        <link rel="stylesheet" type="text/css" href="/content/css/crud/gridview.css"/>                
</head>
<body>
    <form id="form1" runat="server">
    <div id="gridparent" class="gridparent">
            <div id="navigator" class="navigator" >
                <a href ="/systemanage/system/systemcrud.aspx?action=insert" target="_self">添加管理员</a>
            </div>
            <div>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    Height="85px"  AllowPaging="True" 
                    onpageindexchanged="GridView1_PageIndexChanged" 
                    onpageindexchanging="GridView1_PageIndexChanging" 
                    HorizontalAlign="Center"  CssClass="GridViewStyle" 
                    EmptyDataText="<table><tr><td>无数据</td></tr></table>" BorderStyle="None">
                    <Columns>
                        <asp:BoundField DataField="userid" HeaderText="管理员ID"> 
                            <HeaderStyle Width="100px"  />
                        </asp:BoundField>
                        <asp:BoundField DataField="username" HeaderText="管理员名称"> 
                            <HeaderStyle Width="100px"  />
                        </asp:BoundField>                        
                        <asp:BoundField DataField="password" HeaderText="管理员密码" 
                            DataFormatString="*******" >
                            <HeaderStyle Width="100px"  />
                        </asp:BoundField>
                        <asp:HyperLinkField HeaderText="" DataNavigateUrlFields="userid" 
                            DataNavigateUrlFormatString="/systemanage/system/systemcrud.aspx?action=delete&id={0}" 
                            DataTextField="userid" DataTextFormatString="<font color='red'>删除</font>"  />
                        <asp:HyperLinkField HeaderText="" DataNavigateUrlFields="userid" 
                            DataNavigateUrlFormatString="/systemanage/system/systemcrud.aspx?action=edit&id={0}" 
                            DataTextField="userid" DataTextFormatString="<font color='red'>修改</font>" />
                    </Columns>
                    <FooterStyle CssClass="GridViewFooterStyle" />
                    <RowStyle CssClass="GridViewRowStyle" />   
                    <SelectedRowStyle CssClass="GridViewSelectedRowStyle" />
                    <PagerStyle CssClass="GridViewPagerStyle" />
                    <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                    <HeaderStyle CssClass="GridViewHeaderStyle" />
                </asp:GridView>
            </div>

    </div>
    <input id="hid_classid" type="hidden" runat="server" />
    </form>
</body>
</html>
